package com.jubaopen.bean;

import java.util.Date;

public class InviteCode {

	private int id;
	private int state;
	private int invitorId;
	private int invitedId;
	private String invitedNick;
	private String inviteCode;
	private Date generateTime;
	private Date activateTime;
	
	public InviteCode(){
		
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getInvitorId() {
		return invitorId;
	}

	public void setInvitorId(int invitorId) {
		this.invitorId = invitorId;
	}

	public int getInvitedId() {
		return invitedId;
	}

	public void setInvitedId(int invitedId) {
		this.invitedId = invitedId;
	}

	public String getInviteCode() {
		return inviteCode;
	}

	public void setInviteCode(String inviteCode) {
		this.inviteCode = inviteCode;
	}

	public Date getGenerateTime() {
		return generateTime;
	}

	public void setGenerateTime(Date generateTime) {
		this.generateTime = generateTime;
	}

	public Date getActivateTime() {
		return activateTime;
	}

	public void setActivateTime(Date activateTime) {
		this.activateTime = activateTime;
	}

	public String getInvitedNick() {
		return invitedNick;
	}

	public void setInvitedNick(String invitedNick) {
		this.invitedNick = invitedNick;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "InviteCode [id=" + id + ", state=" + state + ", invitorId="
				+ invitorId + ", invitedId=" + invitedId + ", invitedNick="
				+ invitedNick + ", inviteCode=" + inviteCode
				+ ", generateTime=" + generateTime + ", activateTime="
				+ activateTime + "]";
	}
}
